package com.example.demosp.controller;

import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;

@RestController
public class DemospController {
	
	@RequestMapping("/")
	public String root() {
		return "Hello root";
	}
	
	@RequestMapping("/hello")
	public String index() {
		return "Hello SpringBoot";
	}

}
